package edu.sctu.alex.May.day20150510;

/**
 * Created by user03 on 2015/5/10.
 */
public class TextOneX {
    int sum;
    TextThree textThree = new TextThree();

    TextOne textOne = new TextOne();

    public TextThree  CountNum(TextThree textThree){
        for (int i = 0; i <=textOne.number; i++) {
            sum+=i;

        }
        textThree.getNum = sum;
        return  textThree;
    }
}
